package com.lkl.spring.service.impl;

import com.lkl.spring.annotation.LklAutowird;
import com.lkl.spring.annotation.LklService;
import com.lkl.spring.dao.UserDaoImpl;
import com.lkl.spring.service.UserService;

@LklService(value = "userService")
public class UserServiceImpl implements UserService {

    @LklAutowird
    private UserDaoImpl userDao;

    public void addUser() {
        userDao.addUser();
        System.out.println("this is service addUser...");
    }
}
